#include <iostream>
#include <cmath>
#include "coordin.h"
using namespace std;
int main()
{
	rect r;
	polar p;
    cout << "Please enter 2 numbers";	
	while(cin >> r.x >> r.y)  //slick use of cin
	{
		p = rect_to_polar(r);
		show_polar(p);
		cout << "next to number(q to quit!)";
	}
	cout << "over!" << endl;
}
